<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>用户登录</title>
    
    <link rel="stylesheet" type="text/css" href="js/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="js/themes/icon.css">
    <script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="js/locale/easyui-lang-zh_CN.js"></script>
   
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
	<center>
		<img src="imgs/background.jpg" />
		<hr>
		
		<h4>用户登录</h4>
		<form action="user_login.action" method="post" >
			<table>
				<tr>
					<td>账号</td>
					<td><input type="text" name="user.username" class="easyui-validatebox" ></td>
				</tr>
				<tr>
					<td>密码</td>
					<td><input type="password" name="user.password" class="easyui-validatebox">
						<a href="passwordforget.jsp">忘记密码</a>
					</td>											
				</tr>
				 <tr>
					<td colspan="2" align="center"><font color="red"><s:property value="errors.msg[0]"/></font></td>
				</tr>
				<tr>
					<td colspan="2" align="center"><input type="submit" value="登陆"></td>
				</tr>
			</table>
		</form>
	</center>
	<s:debug></s:debug>
  </body>
</html>
